home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / Fonts.idl < prev    next >
Encoding:
Text File  |  1996-05-01  |  3.3 KB  |  113 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Fonts.idl
  3.  
  4.      Contains:    Font Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __FONTS_IDL__
  19. #define __FONTS_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __GXTYPES_IDL__
  25. #include <GXTypes.idl>
  26. #endif
  27. #ifndef __QUICKDRAW_IDL__
  28. #include <Quickdraw.idl>
  29. #endif
  30. #ifndef __TEXTCOMMON_IDL__
  31. #include <TextCommon.idl>
  32. #endif
  33.  
  34. #ifdef __SOMIDL__
  35.  
  36. typedef SOMLargeStruct            FMInput;                    /* Derived from a struct of 16 bytes in size */
  37.  
  38. /*
  39.  #pragma output c
  40.  typedef struct OpaquePrivateFontResult *privateFontResult;
  41.  #pragma output pascal
  42.  typedef Ptr privateFontResult;
  43.  #pragma output all
  44. */
  45. typedef OpaquePtr                FontResult;
  46.  
  47. typedef SOMLargeStruct            FMOutput;                    /* Derived from a struct of 26 bytes in size */
  48.  
  49. typedef OpaquePtr                FMOutPtr;                    /* Substituted OpaquePtr for “FMOutput*” */
  50.  
  51. typedef OpaquePtr                FMOutputPtr;                /* Substituted OpaquePtr for “FMOutput*” */
  52.  
  53. typedef SOMLargeStruct            FontRec;                    /* Derived from a struct of 26 bytes in size */
  54.  
  55. typedef OpaquePtr                FontRecPtr;                    /* Substituted OpaquePtr for “FontRec*” */
  56.  
  57. typedef SOMLargeStruct            FMetricRec;                    /* Derived from a struct of 20 bytes in size */
  58.  
  59. /*
  60.  typedef struct FMetricRec FMetricRec, *FMetricRecPtr;
  61.  typedef FMetricRecPtr *FMetricRecHandle;
  62. */
  63. typedef OpaquePtr                FMetricRecPtr;                /* Substituted OpaquePtr for “FMetricRec*” */
  64.  
  65. typedef OpaquePtr                FMetricRecHandle;            /* Substituted OpaquePtr for “FMetricRecPtr*” */
  66.  
  67. typedef SOMTwoByteStruct        WidEntry;                    /* Derived from a struct of 2 bytes in size */
  68.  
  69. typedef SOMTwoByteStruct        WidTable;                    /* Derived from a struct of 2 bytes in size */
  70.  
  71. typedef SOMLargeStruct            AsscEntry;                    /* Derived from a struct of 6 bytes in size */
  72.  
  73. typedef SOMTwoByteStruct        FontAssoc;                    /* Derived from a struct of 2 bytes in size */
  74.  
  75. typedef SOMLargeStruct            StyleTable;                    /* Derived from a struct of 58 bytes in size */
  76.  
  77. typedef SOMLargeStruct            NameTable;                    /* Derived from a struct of 258 bytes in size */
  78.  
  79. typedef SOMFourByteStruct        KernPair;                    /* Derived from a struct of 4 bytes in size */
  80.  
  81. typedef SOMFourByteStruct        KernEntry;                    /* Derived from a struct of 4 bytes in size */
  82.  
  83. typedef SOMTwoByteStruct        KernTable;                    /* Derived from a struct of 2 bytes in size */
  84.  
  85. typedef SOMLargeStruct            WidthTable;                    /* Derived from a struct of 1072 bytes in size */
  86.  
  87. typedef SOMLargeStruct            FamRec;                        /* Derived from a struct of 52 bytes in size */
  88.  
  89. typedef SInt16                    FontPointSize;
  90.  
  91. typedef SInt16                    FontFamilyID;
  92.  
  93. #if CGLUESUPPORTED
  94. #endif
  95. #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
  96. #endif
  97. #if FOR_SYSTEM8_COOPERATIVE
  98. typedef UInt32                    SpecialFontSelector;
  99.  
  100. /* --------------------------------------------------------------*/
  101. typedef OpaquePtr                TextStrikeRef;
  102.  
  103. typedef OptionBits                TextStrikeOption;
  104.  
  105. /* --------------------------------------------------------------*/
  106. /* --------------------------------------------------------------*/
  107. #endif
  108.  
  109. #endif /* __SOMIDL__ */
  110.  
  111. #endif /* __FONTS_IDL__ */
  112.  
  113.